<!DOCTYPE html>
<!-- saved from url=(0051)https://m.rong360.com/calculator/daikuanmaiche.html -->
<html style="font-size: 27px;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <title>借款申请</title>
    <meta name="keywords" content="借款申请">
    <meta name="description" content="借款申请">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta name="baidu-tc-cerfication" content="98dcb862c6c6e54c0b0142acecc1530c">
    
    <link rel="canonical" href="https://www.rong360.com/calculator/daikuanmaiche.html"> 
    <script type="text/javascript" src="__STATIC__/car/jquery-1.10.2.min.js"></script> 
    <script type="text/javascript" src="__STATIC__/car/function.js"></script> 
    <script type="text/javascript" async="" src="__STATIC__/car/scvm"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/car/module.css">
                   
    
<link rel="stylesheet" type="text/css" href="__STATIC__/car/m_rongui.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/car/m_calculator_common.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/car/m_calculator.css"></head>
<body>
    <div class='model'></div>
    <div id="BAIDU_DUP_fp_wrapper" style="position: absolute; left: -1px; bottom: -1px; z-index: 0; width: 0px; height: 0px; overflow: hidden; visibility: hidden; display: none;">
        <iframe id="BAIDU_DUP_fp_iframe" src="__STATIC__/car/o.html" style="width: 0px; height: 0px; visibility: hidden; display: none;"></iframe></div>

    <div class="MiniWrap">
 
<div view="calc-input" style="display: block;">
            <div class="ui-widget-header ui-header-theme-loan">
    <div class="uwh-bar">
        <div class="uwh-arrowHome">
            
        </div>
        <p class="uwh-title">贷款预测</p>
        <div ></div>
    </div>
</div>        <ul class="header-tab">
        <!-- <li><a href="https://m.rong360.com/calculator/quankuanmaiche.html">购车税费</a></li> -->
        <li class="active"><span>18-55周岁都可申请</span></li>
    </ul>

<form method= 'POST' name="myform" class='myform' action="__SELF__">
    <div class="input-fields" wrap="h10">
        <ul>
            <li class="field-wrap">
    <label>姓名</label>
    <div class="field">
        <div class="ui-text" data-tail="">
            <input type="text"  name="username"  data='姓名'>
        </div>
    </div>
</li>

<li class="field-wrap">
    <label>电话</label>
    <div class="field">
        <div class="ui-text" data-tail="">
            <input type="number" name="mobile" data='电话'>
        </div>
    </div>
</li>
<input type='hidden' name='step' value ='{$step}'>
</form>
            <li></li>
        </ul>
        <div class="calbtn-wrap">
            <a class="ui-btn" skin="blue full" >提 交</a>
        </div>
    </div>
            <style type="text/css">
            .bdad{
                width: 100%;
                padding: 10px 0;
                overflow: hidden;
            }
        </style> 
 
</div>

<script type="text/javascript"> 

   

    $(function(){
    	//提交事件
        $('.ui-btn').click(function(){
        	$datas =  $('.input-fields').find('input');
            
            var flag = true;
        	$datas.each(function(){
        		
        		if($(this).val()==''){
                  
                  model("请输入"+$(this).attr('data'));
                   return flag = false;
        		}
        		var isMobile=/^(?:13\d|15\d)\d{5}(\d{3}|\*{3})$/;  
        		if($(this).attr('name')=='mobile'){
        			if(!isMobile.test($(this).val())){
        				model('请正确输入手机号');
        				return flag = false;
        			}

        		}
        	});
        	if(!flag){return false;}

        	 //检查号码是否有提交过
            $.ajax({
                type:"GET",
                url:"__URL__/checkMobile",
                data:$('.myform').serialize(),
                success: function(data){
                     console.log(data.flag);
                     if(data.flag == 0){ //电话已经有录入过
                        model("此号码已经参与过了，请更换号码尝试");
                        return false;
                     }else{
                        // return false;
                         $('.myform').submit();//提交表单
                     }
                }
            });
           
        });
        
        $(".index-xuanxiang ul li").click(function(){
            var index=$(this).index();
            $(this).addClass("xx-on").siblings().removeClass("xx-on");
            $(".index-neirong .index-nr").eq(index).show().siblings().hide();
        }) 
    })

</script>
</div>


    
</div>
    
   

</body></html>

